# barGraph object example

The following example shows the barGraph object:

`<barGraph name="BarGraph1" height="238" width="32" left="580" top="13" visible="true" wallpaper="false" isReferenceObject="false" backColor="lime" backStyle="solid" borderColor="navy" borderStyle="raisedInset" borderUsesBackColor="false" borderWidth="4" description="Bar20" fillColor="navy" fillDirection="bottomToTop" minValue="0" maxValue="60" thresholdType="percentage" numberOfThresholds="1">`

`<threshold thresholdIndex="1" thresholdValue="50" fillColor="yellow" blink="true" />`

`<animations>`

`<animateVisibility expression="If TagS2 < 10 Then 0 Else 1" expressionTrueState="visible" />`

`</animations>`

`<connections>`

`<connection name="Value" expression="TestTag4" />`

`</connections>`

`</barGraph>`

## See also

Graph and gauge objects: barGraph object

barGraph object attributes and elements